import http from "../public";
// 推荐歌单
export const personalized = (params) => {
    return http({
        url: "/personalized",
        method: 'get',
        params
    })
}
// 最新音乐
export const newsong = (params) => {
    return http({
        url: "/personalized/newsong",
        method: 'get',
        params
    })
}
// 获取歌词
export const lyric = (params) => {
    return http({
        url: "/lyric",
        method: 'get',
        params
    })
}
// 获取歌单详情
export const detail = (params) => {
    return http({
        url: "/playlist/detail",
        method: 'get',
        params
    })
}
// 热搜列表
export const hot = (params) => {
    return http({
        url: "/search/hot",
        method: 'get',
        params
    })
}
// 搜索建议
export const suggest = (params) => {
    return http({
        url: "/search/suggest",
        method: 'get',
        params
    })
}

